Skip to content

feat(metrics): add MicroGPT tab to metrics dashboard#184

Merged
aaylward merged 1 commit into
mainfrom
feat/microgpt-metrics-tab
Mar 2, 2026
Merged

feat(metrics): add MicroGPT tab to metrics dashboard#184
aaylward merged 1 commit into
mainfrom
feat/microgpt-metrics-tab

Conversation

@aaylward

@aaylward aaylward commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds microgpt as a valid tab type alongside system, containers, and portrait; routed at /metrics/microgpt
  • Inference Activity section: tokens/sec area chart, request rate line chart, avg request duration area chart, chat conversation rate line chart
  • Service Health section: success/failure bar charts (5-min windows), per-endpoint totals bar chart
  • Fetches GET /metrics/v1/scalar/microgpt and GET /metrics/v1/timeseries/microgpt/{range} from prom_proxy

Companion PR: muchq/MoonBase#... (prom_proxy endpoints + microgpt-serve instrumentation)

Test plan

  • Navigate to /metrics/microgpt — tab renders without errors
  • With backend running, overview cards populate (req/s, tokens/s, chats, avg ms)
  • All four Inference Activity charts show data after sending requests
  • Success/failure health charts reflect traffic
  • Time range selector (30m / 1d / 7d) refreshes microgpt charts along with other tabs

🤖 Generated with Claude Code

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 2, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
muchq 290bc55 Commit Preview URL

Branch Preview URL
Mar 02 2026, 04:07 AM

Add /metrics/microgpt route and dashboard tab showing inference
activity (tokens/s, request rate, avg duration, conversation rate)
and service health (success/failure counts, per-endpoint totals).
Fetches from prom_proxy /scalar/microgpt and /timeseries/microgpt/{range}.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@aaylward aaylward force-pushed the feat/microgpt-metrics-tab branch from 6020f34 to 290bc55 Compare March 2, 2026 04:06
@aaylward aaylward enabled auto-merge (squash) March 2, 2026 04:07
@aaylward aaylward merged commit b7ff2fa into main Mar 2, 2026
2 checks passed
@aaylward aaylward deleted the feat/microgpt-metrics-tab branch March 2, 2026 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant